<div class="panel panel-primary">
    <div class="panel-heading">*ngFor的用法</div>
    <div class="panel-body">
      <ul>
        <li *ngFor="let race of races;let i=index;">
        {{i+1}}-{{race.name}}
        </li>
      </ul>
    </div>
  </div>
